<?php
    
    // Delete Items Button
    $linkDeleteItems = $this->baseUrl($this->currentController . '/multi-delete');
    $imgDeleteItems  = $this->imgUrl . '/toolbar/icon-32-delete.png';
    $btnDeleteItems  = $this->myButton('Delete Items', $linkDeleteItems, $imgDeleteItems, 'submit');
    
    // Active Items Button
    $linkActiveItems = $this->baseUrl($this->currentController . '/status/type/1');
    $imgActiveItems  = $this->imgUrl . '/toolbar/icon-32-active.png';
    $btnActiveItems  = $this->myButton('Active Items', $linkActiveItems, $imgActiveItems, 'submit');
    
    // Inactive Items Button
    $linkInactiveItems = $this->baseUrl($this->currentController . '/status/type/0');
    $imgInactiveItems  = $this->imgUrl . '/toolbar/icon-32-inactive.png';
    $btnInactiveItems  = $this->myButton('Inactive Items', $linkInactiveItems, $imgInactiveItems, 'submit');
    
    
    // Back Button
    $linkBack = $this->baseUrl($this->currentController);
    $imgBack  = $this->imgUrl . '/toolbar/icon-32-back.png';
    $btnBack  = $this->myButton('Back', $linkBack, $imgBack, 'link');
    
    // Cancel Button
    $linkCancel = $this->baseUrl($this->currentController);
    $imgCancel  = $this->imgUrl . '/toolbar/icon-32-cancel.png';
    $btnCancel  = $this->myButton('Cancel', $linkCancel, $imgCancel, 'link');
    
    // Accept Button
    $linkAccept = $this->baseUrl($this->currentController . '/delete/id/' . $this->arrParam['id']);
	$imgAccept  = $this->imgUrl . '/toolbar/icon-32-accept.png';
	$btnAccept  = $this->myButton('Accept', $linkAccept, $imgAccept, 'submit');
   
    
    switch ($this->arrParam['action']){
    	case 'index' : $strBtn = $btnActiveItems . ' ' . $btnInactiveItems . ' ' . $btnDeleteItems;
    			break;
    	case 'delete' : $strBtn = $btnAccept . ' ' . $btnCancel;
    			break;
    	case 'info' : $strBtn =  $btnBack;
    			break;
    	default:	$strBtn = '';
    }
    
?>
<div id="toolbar-box">

                            <div class="t"><div class="t"><div class="t"></div></div></div>

                            <div class="m">

                                <div id="toolbar" class="toolbar" >				
                                 <?php echo $strBtn; ?>
                                  <div class="clr"></div>

                                </div>

                                <div class="header icon-48-install"><?php echo $this->Title; ?></div>

                                

                                <div class="clr"></div>

                            </div>

                            <div class="b"><div class="b"><div class="b"></div></div></div>

                        </div>
